package com.fdq.bigevent.service;

import com.fdq.bigevent.pojo.Result;
import com.fdq.bigevent.pojo.User;


public interface UserService {

    User findUserByName(String username);

    Result register(String username, String password);

    Result<String> login(String username, String password);

    Result update(User user);

    Result updateAvatar(String avatarUrl);

    Result updatePwd(String oldPwd, String newPwd);
}
